import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui';
import router from './router'
import 'element-ui/lib/theme-chalk/index.css';
import './style/index.less'

import VueBus from 'vue-bus';

Vue.use(VueBus);



import registryConfirm from './utils/confirm.js'
Vue.use(registryConfirm);

import Interface from  '@/utils/interface.js'
Vue.use(Interface)

import VueDragVerify from 'vue-drag-verify';
Vue.component('vue-drag-verify', VueDragVerify)


// 路由权限拦截
import './utils/permission'

Vue.config.productionTip = false
Vue.use(ElementUI);

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
